package com.silence.gankio.paged

import android.arch.lifecycle.LiveData
import android.arch.paging.PagedList

data class Listing<T>(
    val pagedList: LiveData<PagedList<T>>,
    val networkState: LiveData<Resource<String>>,
    val refreshState: LiveData<Resource<String>>,
    val refresh: () -> Unit, val retry: () -> Unit
)